package org.springblade.tms.global.exception;

/**
 * @author: wzq
 * @className: CommonException
 * @createDate: 2022/3/7
 * @description: 通用异常
 */
public class CommonException extends RuntimeException {
	public CommonException(String message) {
		super(message);
	}

	public CommonException(Throwable e) {
		super(e);
	}

	public static CommonException throwCommonException(String msg) {
		throw new CommonException(msg);
	}
}
